﻿using JNPF.Basics.Models;
using System.Collections.Generic;

namespace JNPF.Basics.Logic.WorkFlow.FlowFlowDynamic
{
    internal interface FlowFlowDynamicIService
    {
        /// <summary>
        /// 信息
        /// </summary>
        /// <param name="id">主键值、业务主键</param>
        /// <returns></returns>
        Dictionary<string, object> GetInfo(FlowEngineEntity entity, string id);
        /// <summary>
        /// 信息
        /// </summary>
        /// <param name="id">主键值、业务主键</param>
        /// <returns></returns>
        void Create(Dictionary<string, object> allDataDic, Dictionary<string, object> newMainDataDic, string id, FlowEngineEntity entity);
        /// <summary>
        /// 信息
        /// </summary>
        /// <param name="id">主键值、业务主键</param>
        /// <returns></returns>
        void Update(Dictionary<string, object> allDataDic, Dictionary<string, object> newMainDataDic, string id, FlowEngineEntity entity);
    }
}
